<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<title>Update Users</title>
		<link rel="Stylesheet" href="${rootContext}/includes/${judo_style_css_document}" type="text/css" />
	</head>
	<body>		
		<div id="page">
			<div id="header">
				<jsp:include page="/header.jsp" flush="false"/>
			</div>
			<div id="navcontainer">
				${judo_menu}
			</div>
			<div id="content">
							<h3>Update New Users</h3>
			<a href="${rootContext}/admin/user_controller/display_users.do">View All Users</a><br>
			<br>
			<form method="POST" action="${rootContext}/admin/user_controller/update_users.do">
				<table>
				<input type="hidden" name="id" value="${userid}">
				<input type="hidden" name="userid" value="${userid}">
					<tr>
						<td>
							<b>Status</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<select name="status">
								${html_status}
							</select>
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Username</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="username" value="${username}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Password</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="password" value="${password}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Firstname</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="firstname" value="${firstname}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Lastname</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="lastname" value="${lastname}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Email</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="email" value="${email}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Unit</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="unit" value="${unit}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Division</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="division" value="${division}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Title</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="title" value="${title}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Businessphone</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="businessphone" value="${businessphone}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Cellphone</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="cellphone" value="${cellphone}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Adddate</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="adddate" value="${adddate}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Location</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="location" value="${location}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Street1</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="street1" value="${street1}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Street2</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="street2" value="${street2}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>City</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="city" value="${city}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>State_prov</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="state_prov" value="${state_prov}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Zip</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="zip" value="${zip}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Country</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="country" value="${country}">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							&nbsp;
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="submit">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
				</table>
			</form>

			</div>
		</div>
	</body>
</html>
